package com.legal.exception;


import com.legal.enums.UserExceptionMsgEnums;

public class UserException extends CommonException {
    private int code;

    public UserException(String message, int code) {
        super(message, code);
    }

    public UserException(UserExceptionMsgEnums enums){
        this(enums.getMsg(), enums.getCode());
    }
}
